package fpig.groovylists.functions

import fpig.concepts.FunctorDescription;
import fpig.lists.structures.FunList;

class FunListToListFunctor extends FunctorDescription{
	
	static FunctorDescription getStatics() {
		return _statics
	}
 

	Class mappedFrom(Class a) {
		this.singleMapping(a, FunList.class, List.class)
	}
 
	Closure getFmap() {
	   fpig.groovylists.functions.InAndOutOfFunLists.withFunList
	}
	
	//private
	static FunctorDescription _statics= new FunListToListFunctor();
}
